package com.vise.bledemo;

import android.app.Application;

import com.hjq.toast.ToastUtils;
import com.vise.bledemo.common.BluetoothDeviceManager;
import com.vise.log.ViseLog;
import com.vise.log.inner.LogcatTree;

public class XxxApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();

        // 初始化 Toast 框架
        ToastUtils.init(this);
        ViseLog.getLogConfig().configAllowLog(true);//配置日志信息
        ViseLog.plant(new LogcatTree());//添加Logcat打印信息
        BluetoothDeviceManager.getInstance().init(this);
    }
}
